/**
 * 
 */
package com.nervytech.tutorcruise.db.dao.interfaces;

import java.util.List;

import com.nervytech.tutorcruise.db.dao.model.User;

/**
 * @author ADMIN
 *
 */
public interface IUserDAO {
	
	public void saveUser(User user);

	public User getUser(long userId);

	public void updateUser(User user);

	public boolean checkIfUserExist(String emailId);

	List<User> getUserByEmailId(String emailId);

	public void updatePassword(long userId, String password);

	public void updateUserStatus(long userId, int userStatus);

	public void updateUserTypeAndCategory(long userId, int userType,
			int category);

	public void updateFirstLogin(long userId, int userType, int category,
			String mobile, int mobileVerfied);

	public List<User> getTraineeProfile(long userId);
	
}
